package cc.mrbird.system.domain;

import java.io.Serializable;
import java.util.List;

public class SeriesModel implements Serializable {
    private int id;  //series的序号（因为可能有多个series）
    private String name;  //series的名称，对应legend的name
    private String type;  //图表类型，可以是line，pie之类的
    private List chartData;  //图表数据

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List getChartData() {
        return chartData;
    }

    public SeriesModel() {
    }

    public SeriesModel(int id, String name, String type, List chartData) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.chartData = chartData;
    }

    public void setChartData(List chartData) {
        this.chartData = chartData;
    }
}
